package panda.client.engine;

import java.io.Serializable;

import panda.client.enumerations.Color;

/**
 * Serializable wrapper containing a Counter's color and its integer coordinates.
 * @author zane.tian@gmail.com
 */
public class CounterAndPos implements Serializable, InPlayAndPos {
	private static final long serialVersionUID = 7505667664519998804L;
	
	private int x;
	private int y;
	private long serverID;
	private Color color;

	public CounterAndPos() {

	}

	public CounterAndPos(Color color, long serverID, int x, int y) {
		this.color = color;
		this.serverID = serverID;
		this.x = x;
		this.y = y;
	}
	
	public long getServerID() {
		return serverID;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public Color getColor() {
		return color;
	}
}